package pers.mtx.myapplication.model.Chatmodel;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

public class ChatRecord implements Serializable {
    @JsonProperty("receiverId")
    private String receiverid;
    @JsonProperty("senderId")
    private String senderid;
    private String message;
    @JsonProperty("msgType")
    private int msgtype;
    @JsonProperty("msgId")
    private String msgid;
    private String rollback;
    @JsonProperty("sendTime")
    private Date sendtime;

    public Date getSendtime() {
        return sendtime;
    }

    public void setSendtime(Date sendtime) {
        this.sendtime = sendtime;
    }

    public void setReceiverid(String receiverid) {
        this.receiverid = receiverid;
    }

    public String getReceiverid() {
        return receiverid;
    }

    public void setSenderid(String senderid) {
        this.senderid = senderid;
    }

    public String getSenderid() {
        return senderid;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMsgtype(int msgtype) {
        this.msgtype = msgtype;
    }

    public int getMsgtype() {
        return msgtype;
    }

    public void setMsgid(String msgid) {
        this.msgid = msgid;
    }

    public String getMsgid() {
        return msgid;
    }

    public void setRollback(String rollback) {
        this.rollback = rollback;
    }

    public String getRollback() {
        return rollback;
    }
}